package com.xieh.webmagic;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 单个包
 * @MapperScan("com.mysiteforme.admin.dao")
 *
 * 多个包
 * @MapperScan({"com.mysiteforme.admin.dao","com.zipon.tpf.dao"})
 */

@MapperScan({"com.xieh.webmagic.dao"})
@SpringBootApplication
// 开启定时任务
@EnableScheduling
public class SpringBootWebMagicApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootWebMagicApplication.class, args);
    }

}
